import dt from '@dt/dt'
import Opt from '@/components/dt/info/Opt.js'

class YearendOpt extends Opt {

  constructor() {
    super()
    this.build()
  }

  build() {
    this.createAll()
    this.opts.push(...this.all)
  }

  createAll() {
    this.all = [{
        title: '应付奖金总额',
        key: 'bonusAmount',
        text: {
          type: 'number',
          unit: '元'
        }
      },
      {
        title: '实发奖金总额',
        key: 'actualBonusAmount',
        text: {
          type: 'number',
          unit: '元'
        }
      }
    ]
  }
}

export default YearendOpt
